<!--正文导航-->
<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black"/>
<meta content="telephone=no" name="format-detection" /> 
<meta name="google-site-verification" content="DVVM1p1HEm8vE1wVOQ9UjcKP--pNAsg_pleTU5TkFaM">
<style>
	body > a:first-child,body > a:first-child img{ width: 0px !important; height: 0px !important; overflow: hidden; position: absolute}
	body{padding-bottom: 0 !important;}
</style>
<meta id="viewport" name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0">
<title>课程详情</title>
<link rel="stylesheet" href="{OSSURL}public/mobile/css/resetnew.css">
<link type="text/css" rel="stylesheet" href="{OSSURL}public/mobile/css/greenStyle.css?v=4.80120" />
{php echo register_jssdk();}
<script src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>		
<script src="{MODULE_URL}public/mobile/js/jquery.js"></script>
</head>
<body>
    <div id="wrap" class="count_inf">
        <dl id="main">
            <dt class="count_tit">{$item['name']}</dt>
            <dd class="count_inf">
                <div class="teacher">
                    <div style=" background-image:url({php echo tomedia($teacher['thumb']);})"></div>
                    <p>{$teacher['tname']}</p>
                </div>
                <ul>
                    <li><label>日期：</label>{php echo date('Y/m/d',$item['start'])}-{php echo date('Y/m/d',$item['end'])}</li>
                    <li><label>科目：</label>{if !empty($item['xq_id'])}{$category[$item['xq_id']]['sname']}/{$category[$item['bj_id']]['sname']}/{$category[$item['km_id']]['sname']}{else}{$category[$item['km_id']]['sname']}{/if}</li>
                    <li><label>教室：</label>{$item['adrr']}</li>
                </ul>               
                <div style="clear:both"></div>
            </dd> 	
        </dl>
        <!--dl class="count_tips">
            <dt>服务</dt>
                            <dd class="count_add"><a href="#" id="map">{$school['address']}</a></dd>
                            <dd class="count_phone"><a href="tel:64611463" class="phone">{$school['tel']}</a></dd>
        </dl-->
        <!--dl class="count_eval">
            <dt><a href="javascript:void(0)" id="allPinglun">老师评价<span>(0人评价)</span></a></dt>
        </dl-->
        <dl class="count_outline">
            <dt><a href="{php echo $this->createMobileUrl('kcdg', array('id' => $item['id'],'schoolid' => $schoolid), true)}" >课程大纲 <span class="outline_link" id="syllabus">查看详情</span></a></dt>
        </dl>
	</div>	
	<div id="wrap" class="user_inf">
        <a class="help" href="javascript:void(0)"><span style="background-color:#F0AD4E;">&nbsp;&nbsp;&nbsp;&nbsp;</span>有内容&nbsp;<span style="background-color:#00b8ff;">&nbsp;&nbsp;&nbsp;&nbsp;</span>已授课程&nbsp;<span style="background-color:#999;">&nbsp;&nbsp;&nbsp;&nbsp;</span>未开始</a>
    </div>
	<div id="wrap" class="count_inf">
        <dl class="counts">
            <dt>学习记录</dt>
            <div>
			{loop $list $item1}
                      <dd{if $item1['isxiangqing'] == 1}{if $item1['date'] > TIMESTAMP}{else} class="click1" onclick="touch({$item1['id']})"{/if}{else}{if $item1['date'] > TIMESTAMP}{else} class="click" onclick="touch({$item1['id']})"{/if}{/if}>第<span>{$item1['nub']}</span>课<br/>{php echo date('m月d',$item1['date'])}</br>{if !empty($category[$item1['sd_id']])}{$category[$item1['sd_id']]['sname']}{/if}</dd>          
			{/loop}
                      <div style="clear:both"></div>
            </div>
        </dl>
    </div>
	
	<input id="userid" name="userid" type="hidden" value="{$its['id']}">
	   {php include $this->template('footer');}	   
</body>
<script>
WeixinJSHideAllNonBaseMenuItem();
/**微信隐藏工具条**/
function WeixinJSHideAllNonBaseMenuItem(){
	if (typeof wx != "undefined"){
		wx.ready(function () {
			
			wx.hideAllNonBaseMenuItem();
		});
	}
}
function touch(itemid) {
						
	var id = itemid;
			
	window.location.href = "{php echo $this->createMobileurl('mykcdetial', array('schoolid' => $schoolid), true)}" + '&id=' + id;
}

</script>
</body>
</html>